/*
* @Author: Lee
* @Date:   2018-07-19 13:24:10
* @Last Modified by:   Lee-kanghua
* @Last Modified time: 2018-07-24 08:47:41
*/
import req from '@/utils/req'

// const MODULE_URL = process.env.BASE_API_process + '/factory/materielType/';


//新建
export function createRow(obj) {
  return req.post('/factory/materielType/create',obj);
}

//修改
export function editRow(obj) {
  return req.post('/factory/materielType/update',obj);
}

//删除
export function deleteRows(id) {
  return req.post( '/factory/materielType/delete?id='+id)
}

//分页查询BOM清单
export function getList(obj) {
  return req.post( '/factory/materielType/list',obj)
}
